package com.cn.bukeManage.service.serviceImpl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.bukeManage.dao.ChinaAreaDao;
import com.cn.bukeManage.pojo.ChinaArea;
import com.cn.bukeManage.service.ChinaAreaService;

@Service("chinaAreaService")
public class ChinaAreaServiceImpl implements ChinaAreaService {
	@Resource
	private ChinaAreaDao chinaAreaDao;
	
	public List<ChinaArea> getAllSheng() {
		List<ChinaArea> list=chinaAreaDao.getAllSheng();
		return list;
	}

	public List<ChinaArea> getAllShiByS(Integer code) {
		List<ChinaArea> list=chinaAreaDao.getAllShiByS(code);
		return list;
	}

}
